﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Join.aspx.cs" Inherits="AndamanAlumni.FormJoin" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="section_3">
        <h1>
            Join Us</h1>
        <span class="blue_title">Become a <b>MEMBER</b></span>
        <asp:UpdatePanel ID="pnlUpdate" runat="server" UpdateMode="Always">
            <ContentTemplate>
                <table>
                    <tr>
                        <td style="vertical-align: top;">
                            <fieldset style="padding: 10px; width: 350px">
                                <p>
                                    <span class="sub_title">User Information</span>
                                    <br />
                                    Name
                                    <br />
                                    <asp:TextBox ID="txtName" runat="server" CssClass="txt text ui-widget-content ui-corner-all"></asp:TextBox>
                                    <br />
                                    <br />
                                    Username
                                    <br />
                                    <asp:TextBox ID="txtUsername" runat="server" CssClass="txt text ui-widget-content ui-corner-all"></asp:TextBox>
                                    <br />
                                    <br />
                                    Email
                                    <br />
                                    <asp:TextBox ID="txtEmail" runat="server" CssClass="txt text ui-widget-content ui-corner-all"></asp:TextBox>
                                    <br />
                                    <br />
                                    Password
                                    <br />
                                    <asp:TextBox ID="txtPassword" runat="server" CssClass="txt text ui-widget-content ui-corner-all"></asp:TextBox>
                                    <br />
                                    <br />
                                    Verify Password
                                    <br />
                                    <asp:TextBox ID="txtVerifyPassword" runat="server" CssClass="txt text ui-widget-content ui-corner-all"></asp:TextBox>
                                    <br />
                                    <br />
                                    Gender
                                    <br />
                                    <asp:RadioButtonList ID="radGender" CssClass="txt text ui-widget-content ui-corner-all"
                                        runat="server" RepeatDirection="Horizontal">
                                        <asp:ListItem Selected="True">Male</asp:ListItem>
                                        <asp:ListItem>Female</asp:ListItem>
                                    </asp:RadioButtonList>
                                </p>
                            </fieldset>
                            <asp:RequiredFieldValidator ID="rfvName" runat="server" 
                                ControlToValidate="txtName" Display="None" ErrorMessage="Required"></asp:RequiredFieldValidator>
                            <asp:ValidatorCalloutExtender ID="rfvName_ValidatorCalloutExtender" 
                                runat="server" Enabled="True" TargetControlID="rfvName">
                            </asp:ValidatorCalloutExtender>
                            <asp:RequiredFieldValidator ID="rfvUserName" runat="server" 
                                ControlToValidate="txtUsername" Display="None" ErrorMessage="Required"></asp:RequiredFieldValidator>
                            <asp:ValidatorCalloutExtender ID="rfvUserName_ValidatorCalloutExtender" 
                                runat="server" Enabled="True" TargetControlID="rfvUserName">
                            </asp:ValidatorCalloutExtender>
                            <asp:RegularExpressionValidator ID="revUsername" runat="server" 
                                ControlToValidate="txtUsername" Display="None" 
                                ErrorMessage="Characters allowed (a-z, 0-9, underscore, hyphen)" 
                                ValidationExpression="^[a-z0-9_-]{3,15}$"></asp:RegularExpressionValidator>
                            <asp:ValidatorCalloutExtender ID="revUsername_ValidatorCalloutExtender" 
                                runat="server" Enabled="True" TargetControlID="revUsername">
                            </asp:ValidatorCalloutExtender>
                            <asp:RequiredFieldValidator ID="rfvEmail" runat="server" 
                                ControlToValidate="txtEmail" Display="None" ErrorMessage="Required"></asp:RequiredFieldValidator>
                            <asp:ValidatorCalloutExtender ID="rfvEmail_ValidatorCalloutExtender" 
                                runat="server" Enabled="True" TargetControlID="rfvEmail">
                            </asp:ValidatorCalloutExtender>
                            <asp:RegularExpressionValidator ID="revEmail" runat="server" 
                                ControlToValidate="txtEmail" Display="None" ErrorMessage="Invalid email" 
                                ValidationExpression="^[a-z0-9_-]{3,15}$"></asp:RegularExpressionValidator>
                            <asp:ValidatorCalloutExtender ID="revEmail_ValidatorCalloutExtender" 
                                runat="server" Enabled="True" TargetControlID="revEmail">
                            </asp:ValidatorCalloutExtender>
                            <asp:RequiredFieldValidator ID="rfvPassword" runat="server" 
                                ControlToValidate="txtPassword" Display="None" ErrorMessage="Required"></asp:RequiredFieldValidator>
                            <asp:ValidatorCalloutExtender ID="rfvPassword_ValidatorCalloutExtender" 
                                runat="server" Enabled="True" TargetControlID="rfvPassword">
                            </asp:ValidatorCalloutExtender>
                            <asp:RequiredFieldValidator ID="rfvPassword1" runat="server" 
                                ControlToValidate="txtVerifyPassword" Display="None" ErrorMessage="Required"></asp:RequiredFieldValidator>
                            <asp:ValidatorCalloutExtender ID="rfvPassword1_ValidatorCalloutExtender" 
                                runat="server" Enabled="True" TargetControlID="rfvPassword1">
                            </asp:ValidatorCalloutExtender>
                            <asp:RequiredFieldValidator ID="rfvCity" runat="server" 
                                ControlToValidate="txtCity" Display="None" ErrorMessage="Required"></asp:RequiredFieldValidator>
                            <asp:ValidatorCalloutExtender ID="rfvCity_ValidatorCalloutExtender" 
                                runat="server" Enabled="True" TargetControlID="rfvCity">
                            </asp:ValidatorCalloutExtender>
                            <asp:RequiredFieldValidator ID="rfvCountry" runat="server" 
                                ControlToValidate="txtCountry" Display="None" ErrorMessage="Required"></asp:RequiredFieldValidator>
                            <asp:ValidatorCalloutExtender ID="rfvCountry_ValidatorCalloutExtender" 
                                runat="server" Enabled="True" TargetControlID="rfvCountry">
                            </asp:ValidatorCalloutExtender>
                        </td>
                        <td style="vertical-align: top;">
                            <fieldset style="padding: 10px; width: 350px">
                                <p>
                                    <span class="sub_title">Contact Information</span>
                                    <br />
                                    Address
                                    <br />
                                    <asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine" CssClass="txtarea text ui-widget-content ui-corner-all"></asp:TextBox>
                                    <br />
                                    <br />
                                    State
                                    <br />
                                    <asp:TextBox ID="txtState" runat="server" CssClass="txt text ui-widget-content ui-corner-all"></asp:TextBox>
                                    <br />
                                    <br />
                                    City
                                    <br />
                                    <asp:TextBox ID="txtCity" runat="server" CssClass="txt text ui-widget-content ui-corner-all"></asp:TextBox>
                                    <br />
                                    <br />
                                    Country
                                    <br />
                                    <asp:TextBox ID="txtCountry" runat="server" CssClass="txt text ui-widget-content ui-corner-all"></asp:TextBox>
                                    <br />
                                    <br />
                                    Mobile
                                    <br />
                                    <asp:TextBox ID="txtMobile" runat="server" CssClass="txt text ui-widget-content ui-corner-all"></asp:TextBox>
                                    <br />
                                    <br />
                                    Landline
                                    <br />
                                    <asp:TextBox ID="txtLandline" runat="server" CssClass="txt text ui-widget-content ui-corner-all"></asp:TextBox>
                                </p>
                            </fieldset>
                            <br />
                            <asp:Button ID="btnSave" Style="float: right;" CssClass="ui-button" runat="server"
                                Text="Save & Continue" />
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
